package com.ruoyi.project.zerocarbon.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 declare_file
 * 
 * @author ruoyi
 * @date 2021-08-07
 */
public class DeclareFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 申报id */
    @Excel(name = "申报id")
    private Long declarationId;

    /** 项目报告WORD 1 项目报告PDF 2证明上传 3（总数至多5项）展示视频 4 */
    @Excel(name = "项目报告WORD 1 项目报告PDF 2证明上传 3", readConverterExp = "总=数至多5项")
    private Integer type;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String path;

    /** 七牛路径 */
    @Excel(name = "七牛路径")
    private String qiniuPath;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeclarationId(Long declarationId) 
    {
        this.declarationId = declarationId;
    }

    public Long getDeclarationId() 
    {
        return declarationId;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setQiniuPath(String qiniuPath) 
    {
        this.qiniuPath = qiniuPath;
    }

    public String getQiniuPath() 
    {
        return qiniuPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("declarationId", getDeclarationId())
            .append("type", getType())
            .append("path", getPath())
            .append("qiniuPath", getQiniuPath())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
